/*
 * platform.h
 *
 *  Created on: Jan 12, 2011
 *      Author: dima
 */

#ifndef PLATFORM_H_
#define PLATFORM_H_

#include "prerequisites.h"

#include <SDL/SDL.h>
#include <stdio.h>

#include "engine.h"

class Platform
{
	friend class Engine;

	Platform();

	SDL_WindowID mWindowID;

public:

	virtual
	~Platform();

	SDL_WindowID getWindow();

	void init();
	void destroy();
	bool processEvents();
	void log(char* format, ...);

};

#endif /* PLATFORM_H_ */
